import request from '@/utils/request'


/**
 * 地址列表
 */

export function getWholesaleBuyPageList(data){
  return request({
    url: 'buy/getWholesaleBuyPageList',
    method: 'post',
    data: data
  })
}

//地址添加

export function saveBuy(data){
  return request({
    url: 'buy/saveBuy',
    method: 'post',
    data: data
  })
}
//地址修改

export function updateBuy(data){
  return request({
    url: 'buy/updateBuy',
    method: 'post',
    data: data
  })
}
//地址删除

export function deleteBuy(data){
  return request({
    url: 'buy/deleteBuy',
    method: 'post',
    data: data
  })
}
//地址详情
export function getBuyDetails(data){
  return request({
    url: 'buy/getBuyDetails',
    method: 'post',
    data: data
  })
}
